package com.ruoyi.whzj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 常见问答对象 wh_askquestion
 * 
 * @author ruoyi
 * @date 2020-10-29
 */
public class WhAskquestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 问题 */
    @Excel(name = "问题")
    private String askContent;

    /** 答案 */
    @Excel(name = "答案")
    private String questionContent;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAskContent(String askContent) 
    {
        this.askContent = askContent;
    }

    public String getAskContent() 
    {
        return askContent;
    }
    public void setQuestionContent(String questionContent) 
    {
        this.questionContent = questionContent;
    }

    public String getQuestionContent() 
    {
        return questionContent;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("askContent", getAskContent())
            .append("questionContent", getQuestionContent())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
